package DataOperator;

import java.io.DataOutputStream;
import java.io.IOException;
import java.util.ArrayList;

import SimpleDict.DictData;

public class WordBuildInfo{

	protected String word = "";
	public String soundFilePath = "";
	public int soundFileLength = 0;
	public int offset = -1;
	public int length = -1;
	
	public DictData data;

	public void SetSoundInfo(ArrayList<Integer> infos){
		data.SetSoundInfo(infos);
	}

	public int GetSoundNum() {
		return data.GetSoundNum();
	}
	
	public void Build(DataOutputStream writer) throws IOException{
		data.Build(writer);
	}
}
